//
//  CoreDataManager.h
//  Lesson5_Notes 记事本
//
//  Created by xalo on 16/5/31.
//  Copyright © 2016年 朱旭东. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CoreDataManager : NSObject

+ (instancetype)defaultManager;

//查询整个收藏
- (NSArray *)selectAllCollectionModel;

//看有没有已经存在的阅读收藏
- (BOOL) isContainsReadWithReadID:(NSNumber *)readID;

//根据readID去删除一个收藏
-(void)deleteCollectionModelWithReadID:(NSNumber *)readID;

//插入
- (void)insertCollectionMmodelWothModel:(ReadListModel *)model  html:(NSString *)html;

@end
